import request from '@/utils/request'

// 查询项目数据工序列表
export function listProjectDataProcess(query) {
  return request({
    url: '/pms/projectDataProcess/list',
    method: 'get',
    params: query
  })
}

// 查询项目数据工序详细
export function getProjectDataProcess(id) {
  return request({
    url: '/pms/projectDataProcess/' + id,
    method: 'get'
  })
}

// 新增项目数据工序
export function addProjectDataProcess(data) {
  return request({
    url: '/pms/projectDataProcess',
    method: 'post',
    data: data
  })
}

// 修改项目数据工序
export function updateProjectDataProcess(data) {
  return request({
    url: '/pms/projectDataProcess',
    method: 'put',
    data: data
  })
}

// 删除项目数据工序
export function delProjectDataProcess(id) {
  return request({
    url: '/pms/projectDataProcess/' + id,
    method: 'delete'
  })
}
